package smartlifev30.com.sdk.bean.response;

/**
 * 未读消息数
 *
 * @author uesr
 * @date 2018/8/9
 */

public class UnreadMsgNunResponse {


    /**
     * msg_version : 0.1
     * from : 000c4355fc6b
     * to : 18782918305
     * msg_id : ANDSg-087
     * msg_class : msg_mgmt
     * msg_name : unread_num_get
     * msg_type : response
     * status : 0
     * message : {"type":"door_record","num":154}
     * token : 259949bada3543c2b5b894d0c6cf8252
     */

    private String msg_version;
    private String from;
    private String to;
    private String msg_id;
    private String msg_class;
    private String msg_name;
    private String msg_type;
    private int status;
    private MessageBean message;
    private String token;

    public String getMsg_version() {
        return msg_version;
    }

    public void setMsg_version(String msg_version) {
        this.msg_version = msg_version;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getMsg_id() {
        return msg_id;
    }

    public void setMsg_id(String msg_id) {
        this.msg_id = msg_id;
    }

    public String getMsg_class() {
        return msg_class;
    }

    public void setMsg_class(String msg_class) {
        this.msg_class = msg_class;
    }

    public String getMsg_name() {
        return msg_name;
    }

    public void setMsg_name(String msg_name) {
        this.msg_name = msg_name;
    }

    public String getMsg_type() {
        return msg_type;
    }

    public void setMsg_type(String msg_type) {
        this.msg_type = msg_type;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public MessageBean getMessage() {
        return message;
    }

    public void setMessage(MessageBean message) {
        this.message = message;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public static class MessageBean {
        /**
         * type : door_record
         * num : 154
         */

        private String type;
        private int num;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }
    }
}
